
--物体的基类

local Entity = class("Entity")


function Entity:ctor()
	self.x = 0
	self.y = 0
	self.group = ""
	--movement
	self.movex = false
	self.movey = false
	self.movespeed = 100
	self.movedist = 200
	self.clip = false
	self.xorigin = x
	self.yorigin = y
	self.carrying = false
	--swing platforms
	self.swing = false
	self.angleorigin = 0
	self.angle = 0
	self.radius = 0
	--texturing
	self.texture = 1
	self.surface = 2	



end

function Entity:update(dt)

end

function Entity:draw()

end

return Entity
